const dashboard = new URL('../assets/svg/menu/dashboard.svg', import.meta.url).href
const power = new URL('../assets/svg/menu/power.svg', import.meta.url).href
const dataReport = new URL('@/assets/svg/menu/dataReport.svg', import.meta.url).href
const workmanship = new URL('@/assets/svg/menu/workmanship.svg', import.meta.url).href
const collection = new URL('@/assets/svg/menu/collection.svg', import.meta.url).href
const alarm = new URL('@/assets/svg/menu/alarm.svg', import.meta.url).href
const energyCompare = new URL('@/assets/svg/menu/energyCompare.svg', import.meta.url).href
const carbon = new URL('@/assets/svg/menu/carbon.svg', import.meta.url).href
const system = new URL('@/assets/svg/menu/system.svg', import.meta.url).href

const dashboardclick = new URL('@/assets/svg/menu/dashboardClick.svg', import.meta.url).href
const powerclick = new URL('@/assets/svg/menu/powerClick.svg', import.meta.url).href
const dataReportclick = new URL('@/assets/svg/menu/dataReportClick.svg', import.meta.url).href
const workmanshipclick = new URL('@/assets/svg/menu/workmanshipClick.svg', import.meta.url).href
const collectionclick = new URL('@/assets/svg/menu/collectionClick.svg', import.meta.url).href
const alarmclick = new URL('@/assets/svg/menu/alarmClick.svg', import.meta.url).href
const energyCompareclick = new URL('@/assets/svg/menu/energyCompareClick.svg', import.meta.url).href
const carbonclick = new URL('@/assets/svg/menu/carbonClick.svg', import.meta.url).href
const systemclick = new URL('@/assets/svg/menu/systemClick.svg', import.meta.url).href
const secondLevel = new URL('../assets/svg/menu/FadArmrecording.svg', import.meta.url).href

const backMenus = [
  {
    id: '1',
    path: '/dashboard',
    name: 'Dashboard',
    component: 'LAYOUT',
    redirect: '/dashboard/screen',
    meta: {
      orderNo: 2,
      img: dashboard,
      imgClick: dashboardclick,
      // icon: '../assets/svg/menu/数据看板.svg',
      // icon: 'ion:grid-outline',
      title: '主页',
    },
    children: [
      {
        id: '12',
        path: 'screen',
        name: 'screen',
        meta: {
          title: '大屏看板',
          icon: secondLevel,
        },
        component: '/dataBoard/screen/index',
      },
      {
        id: '13',
        path: 'treeEnergy',
        name: 'treeEnergy',
        meta: {
          icon: secondLevel,
          title: '树状能流图',
        },
        component: '/dataBoard/treeEnergy/index',
      },
      // {
      //   id: '12',
      //   path: 'analysis',
      //   name: 'Analysis',
      //   meta: {
      //     title: '数据分析',
      //   },
      //   component: '/dashboard/analysis/index',
      // },
    ],
  },
  {
    id: '9',
    path: '/power',
    name: 'Power',
    component: 'LAYOUT',
    redirect: '/power/airConditioning',
    meta: {
      orderNo: 2,
      img: power,
      imgClick: powerclick,
      // icon: 'ion:bar-chart-outline',
      title: '动力各科',
    },
    children: [
      {
        id: '91',
        path: 'airConditioning',
        name: 'AirConditioning',
        meta: {
          icon: secondLevel,
          title: '空调技术科',
        },
        children: [
          {
            id: '911',
            path: 'redirect',
            name: 'AirConditioningRedirect',
            meta: {
              title: '能源成本及用量',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/redirect/index',
          },
          {
            id: '912',
            path: 'consume',
            name: 'Consume',
            meta: {
              title: '各系统能耗',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/consume/index',
          },
          {
            id: 'CADWater',
            path: 'CADWater',
            name: 'CADWater',
            meta: {
              title: 'CDA水耗',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/CADWater/index',
          },
          {
            id: 'coldAndHotSource',
            path: 'coldAndHotSource',
            name: 'coldAndHotSource',
            meta: {
              title: '冷热源流量',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/coldAndHotSource/index',
          },
          {
            id: '915666',
            path: 'coolingTower',
            name: 'coolingTower',
            meta: {
              title: '冷却塔温度',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/coolingTower/index',
          },
          
          {
            id: 'airEnergyUnitPrice',
            path: 'airEnergyUnitPrice',
            name: 'AirEnergyUnitPrice',
            meta: {
              title: '系统能源单价',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/airEnergyUnitPrice/index',
          },
          // {
          //   id: '913',
          //   path: 'exhaustSystem',
          //   name: 'ExhaustSystem',
          //   meta: {
          //     title: '排风系统能耗',
          //     ignoreKeepAlive: true,
          //   },
          //   component: '/airConditioning/exhaustSystem/index',
          // },
          {
            id: '914',
            path: 'cost',
            name: 'Cost',
            meta: {
              title: '费用预算',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/cost/index',
          },
          {
            id: '915',
            path: 'outdoorTemperature',
            name: 'OutdoorTemperature',
            meta: {
              title: '室外工况',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/outdoorTemperature/index',
          },
          {
            id: 'exhaustEmissions',
            path: 'exhaustEmissions',
            name: 'exhaustEmissions',
            meta: {
              title: '各系统废气排放',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/exhaustEmissions/index',
          },
          {
            id: '916',
            path: 'wasteGas',
            name: 'WasteGas',
            meta: {
              title: '废气化学品用量',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/dailyUsage/wasteGas',
          },
          {
            id: '917',
            path: 'naturalGas',
            name: 'NatrualGas',
            meta: {
              title: '天然气用量',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/dailyUsage/naturalGas',
          },
          {
            id: '918',
            path: 'weeklyReport',
            name: 'WeeklyReport',
            meta: {
              title: '周报能耗图表',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/weeklyReport/index',
          },
          {
            id: 'colAndHotAnasysisOfEnergy',
            path: 'colAndHotAnasysisOfEnergy',
            name: 'colAndHotAnasysisOfEnergy',
            meta: {
              title: '冷热源能耗分析',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/colAndHotAnalysis/index',
          },
          {
            id: 'MAUEnergyAnalysis',
            path: 'MAUEnergyAnalysis',
            name: 'MAUEnergyAnalysis',
            meta: {
              title: 'MAU能耗分析',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/MAUEnergyAnalysis/index',
            
          },
          {
            id: 'AnalysisOfWaterUsedInCoolingTowers',
            path: 'AnalysisOfWaterUsedInCoolingTowers',
            name: 'AnalysisOfWaterUsedInCoolingTowers',
            meta: {
              title: '冷塔用水分析',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/AnalysisOfWaterUsedInCoolingTowers/index',
            
          },
          {
            id: 'facilityEnergyData',
            path: 'facilityEnergyData',
            name: 'facilityEnergyData',
            meta: {
              title: '厂务能源数据',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/facilityEnergyData/index',
          },
          {
            id: 'PCW',
            path: 'PCW',
            name: 'PCW',
            meta: {
              title: 'PCW',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/PCW/index',
          },
          {
            id: 'PGEX',
            path: 'PGEX',
            name: 'PGEX',
            meta: {
              title: 'PGEX',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/PGEX/index',
          },
          {
            id: 'colAndhot',
            path: 'colAndhot',
            name: 'colAndhot',
            meta: {
              title: '制冷量与制热量',
              ignoreKeepAlive: true,
            },
            component: '/airConditioning/colAndhot/index',
          },
        ],
      },
      {
        id: 'water',
        path: 'water',
        name: 'Water',
        meta: {
          icon: secondLevel,
          title: '水处理技术',
        },
        children: [
          {
            id: 'waterRedirect',
            path: 'redirect',
            name: 'WaterRedirect',
            meta: {
              title: '水科',
              ignoreKeepAlive: true,
            },
            component: '/water/redirect/index',
          },
          {
            id: 'pureWater',
            path: 'pureWater',
            name: 'PureWater',
            meta: {
              title: '纯水系统',
              ignoreKeepAlive: true,
            },
            children: [
              {
                id: 'pureWaterRedirect',
                path: 'redirect',
                name: 'PureWaterRedirect',
                meta: {
                  title: '纯水系统',
                  ignoreKeepAlive: true,
                },
                component: '/water/pureWater/redirect/index',
              },
              {
                id: 'waterRecoveryRedirect',
                path: 'WaterRecoveryRedirect',
                name: 'WaterRecoveryRedirect',
                meta: {
                  title: '回收系统',
                  ignoreKeepAlive: true,
                },
                component: '/water/waterRecovery/redirect/index',
              },
              {
                id: 'pretreatment',
                path: 'pretreatment',
                name: 'pretreatment',
                meta: {
                  title: '预处理段',
                  ignoreKeepAlive: true,
                },
                component: '/water/pureWater/pretreatment/index',
              },
              {
                id: 'preProcess',
                path: 'preProcess',
                name: 'preProcess',
                meta: {
                  title: '制程段',
                  ignoreKeepAlive: true,
                },
                component: '/water/pureWater/preProcess/index',
              },
              {
                id: 'preUpw',
                path: 'preUpw',
                name: 'preUpw',
                meta: {
                  title: 'UPW段',
                  ignoreKeepAlive: true,
                },
                component: '/water/pureWater/preUpw/index',
              },
              {
                id: 'preH2W',
                path: 'preH2W',
                name: 'preH2W',
                meta: {
                  title: 'H2W段',
                  ignoreKeepAlive: true,
                },
                component: '/water/pureWater/preH2W/index',
              },
              {
                id: 'preUTT',
                path: 'preUTT',
                name: 'preUTT',
                meta: {
                  title: 'UTT段',
                  ignoreKeepAlive: true,
                },
                component: '/water/pureWater/preUTT/index',
              },
              {
                id: 'waterRecoveryLORG',
                path: 'waterRecoveryLORG',
                name: 'waterRecoveryLORG',
                meta: {
                  title: 'L-ORG段',
                  ignoreKeepAlive: true,
                },
                component: '/water/waterRecovery/waterRecoveryLORG/index',
              },
              {
                id: 'waterRecoveryHORG',
                path: 'waterRecoveryHORG',
                name: 'waterRecoveryHORG',
                meta: {
                  title: 'H-ORG段',
                  ignoreKeepAlive: true,
                },
                component: '/water/waterRecovery/waterRecoveryHORG/index',
              },
              {
                id: 'waterRecoveryFRO3R',
                path: 'waterRecoveryFRO3R',
                name: 'waterRecoveryFRO3R',
                meta: {
                  title: 'FR&O3R段',
                  ignoreKeepAlive: true,
                },
                component: '/water/waterRecovery/waterRecoveryFRO3R/index',
              },
              {
                id: 'chemicalSystem',
                path: 'chemicalSystem',
                name: 'ChemicalSystem',
                meta: {
                  title: '化学品系统',
                  ignoreKeepAlive: true,
                },
                children: [
                  {
                    id: 'chemicalSystemRedirect',
                    path: 'redirect',
                    name: 'ChemicalSystemRedirect',
                    meta: {
                      title: '化学品系统',
                      ignoreKeepAlive: true,
                    },
                    component: '/water/pureWater/chemicalSystem/redirect/index',
                  },
                  {
                    id: 'chemicalSystemSubSystem',
                    path: 'chemicalSystemSubSystem',
                    name: 'ChemicalSystemSubSystem',
                    meta: {
                      title: '纯水分系统计量',
                      ignoreKeepAlive: true,
                    },
                    component: '/water/pureWater/chemicalSystem/subsystem/index',
                  },
                  {
                    id: 'waterRecoveryChemicalSubsystem',
                    path: 'subsystem',
                    name: 'WaterRecoveryChemicalSubsystem',
                    meta: {
                      title: '回收分系统计量',
                      ignoreKeepAlive: true,
                    },
                    component: '/water/waterRecovery/waterRecoveryChemical/subsystem/index',
                  },
                ],
              }
              // {
              //   id: 'pureWaterTotal',
              //   path: 'pureWaterTotal',
              //   name: 'pureWaterTotal',
              //   meta: {
              //     title: '纯水总览',
              //     ignoreKeepAlive: true,
              //   },
              //   component: '/water/pureWater/pureWaterTotal/index',
              // },
              
            ],
          },
          
          {
            id: 'outletWater',
            path: 'outletWater',
            name: 'OutletWater',
            meta: {
              title: '废水系统',
            },
            children: [
              {
                id: 'outletWaterRedirect',
                path: 'redirect',
                name: 'OutletWaterRedirect',
                meta: {
                  title: '废水系统',
                  ignoreKeepAlive: true,
                },
                component: '/water/outletWater/redirect/index',
              },
              {
                id: 'outletWaterEnergyTypeRedirect',
                path: 'OutletWaterEnergyTypeRedirect',
                name: 'OutletWaterEnergyTypeRedirect',
                meta: {
                  title: '能源消耗总量及费用',
                  ignoreKeepAlive: true,
                },
                component: '/water/outletWater/outletWaterEnergyType/redirect/index',
              },
              {
                id: 'OutletWaterFluoride',
                path: 'OutletWaterFluoride',
                name: 'OutletWaterFluoride',
                meta: {
                  title: '含氟废水',
                  ignoreKeepAlive: true,
                },
                component: '/water/outletWater/OutletWaterFluoride/index',
              },
              {
                id: 'outletWaterColorFilter',
                path: 'outletWaterColorFilter',
                name: 'outletWaterColorFilter',
                meta: {
                  title: '彩膜废水',
                  ignoreKeepAlive: true,
                },
                component: '/water/outletWater/outletWaterColorFilter/index',
              },
              {
                id: 'outletWaterOrganic',
                path: 'outletWaterOrganic',
                name: 'outletWaterOrganic',
                meta: {
                  title: '有机废水',
                  ignoreKeepAlive: true,
                },
                component: '/water/outletWater/outletWaterOrganic/index',
              },
              {
                id: 'outletWaterPhosphorus',
                path: 'outletWaterPhosphorus',
                name: 'outletWaterPhosphorus',
                meta: {
                  title: '含磷废水',
                  ignoreKeepAlive: true,
                },
                component: '/water/outletWater/outletWaterPhosphorus/index',
              },
              {
                id: 'outletWaterAcidAlkali',
                path: 'outletWaterAcidAlkali',
                name: 'outletWaterAcidAlkali',
                meta: {
                  title: '酸碱废水',
                  ignoreKeepAlive: true,
                },
                component: '/water/outletWater/outletWaterAcidAlkali/index',
              },
              // {
              //   id: 'outletWaterEnergyType',
              //   path: 'outletWaterEnergyType',
              //   name: 'OutletWaterEnergyType',
              //   meta: {
              //     title: '能源消耗及费用',
              //     ignoreKeepAlive: true,
              //   },
              //   children: [
                 
              //     {
              //       id: 'treatedWater',
              //       path: 'treatedWater',
              //       name: 'TreatedWater',
              //       meta: {
              //         title: '分系统处理水量及费用',
              //         ignoreKeepAlive: true,
              //       },
              //       component: '/water/outletWater/outletWaterEnergyType/treatedWater/index',
              //       children: [
              //         {
              //           id: 'treatedWaterRedirect',
              //           path: 'treatedWater/redirect',
              //           name: 'TreatedWaterRedirect',
              //           meta: {
              //             title: '处理水量及费用',
              //             ignoreKeepAlive: true,
              //           },
              //           component: '/water/outletWater/outletWaterEnergyType/treatedWater/index',
              //         },
              //         {
              //           id: 'outletWaterElectricityConsume',
              //           path: 'outletWaterElectricityConsume',
              //           name: 'OutletWaterElectricityConsume',
              //           meta: {
              //             title: '用电量及费用',
              //             ignoreKeepAlive: true,
              //           },
              //           component:
              //             '/water/outletWater/outletWaterEnergyType/outletWaterElectricityConsume/index',
              //         },
              //         {
              //           id: 'chemicalConsume',
              //           path: 'chemicalConsume',
              //           name: 'ChemicalConsume',
              //           meta: {
              //             title: '化学品费用',
              //             ignoreKeepAlive: true,
              //           },
              //           component: '/water/outletWater/outletWaterEnergyType/ChemicalConsume/index',
              //         },
              //       ],
              //     },
              //   ],
              // },
              {
                id: 'outletWaterChemical',
                path: 'outletWaterChemical',
                name: 'OutletWaterChemical',
                meta: {
                  title: '化学品系统',
                },
                children: [
                  {
                    id: 'outletWaterChemicalRedirect',
                    path: 'redirect',
                    name: 'OutletWaterChemicalRedirect',
                    meta: {
                      title: '化学品系统总用量及费用',
                      ignoreKeepAlive: true,
                    },
                    component: '/water/outletWater/outletWaterChemical/redirect/index',
                  },
                  {
                    id: 'outletWaterChemicalStatisticsAuto',
                    path: 'statisticsAuto',
                    name: 'outletWaterChemicalStatisticsAuto',
                    meta: {
                      title: '分系统用量及费用（自动）',
                      ignoreKeepAlive: true,
                    },
                    component: '/water/outletWater/outletWaterChemical/statisticsAuto/index',
                  },
                  {
                    id: 'outletWaterChemicalStatisticsManual',
                    path: 'statisticsManual',
                    name: 'outletWaterChemicalStatisticsManual',
                    meta: {
                      title: '分系统用量及费用（手动）',
                      ignoreKeepAlive: true,
                    },
                    component: '/water/outletWater/outletWaterChemical/statisticsManual/index',
                  },
                ],
              },
            ],
          },
          // {
          //   id: 'sludgeSystem',
          //   path: 'sludgeSystem',
          //   name: 'SludgeSystem',
          //   meta: {
          //     title: '污泥系统',
          //     ignoreKeepAlive: true,
          //   },
          //   component: '/water/sludgeSystem/index',
          // },
          {
            id: 'waterCost',
            path: 'cost',
            name: 'WaterCost',
            meta: {
              title: '费用预算',
              ignoreKeepAlive: true,
            },
            component: '/water/cost/index',
          },
          {
            id: 'facilityWaterData',
            path: 'facilityWaterData',
            name: 'facilityWaterData',
            meta: {
              title: '厂务能源数据',
              ignoreKeepAlive: true,
            },
            component: '/water/facilityEnergyData/index',
          },
          {
            id: 'outDrainage',
            path: 'outDrainage',
            name: 'outDrainage',
            meta: {
              title: '外排水量',
              ignoreKeepAlive: true,
            },
            component: '/water/outDrainage/index',
          },
          {
            id: 'outDrainageDensity',
            path: 'outDrainageDensity',
            name: 'outDrainageDensity',
            meta: {
              title: '外排水质浓度',
              ignoreKeepAlive: true,
            },
            component: '/water/outDrainageDensity/index',
          },
        ],
      },
      {
        id: 'gas',
        path: 'gas',
        name: 'Gas',
        meta: {
          icon: secondLevel,
          title: '气体化学科',
        },
        children: [
          {
            id: 'gasRedirect',
            path: 'redirect',
            name: 'GasRedirect',
            meta: {
              title: '气化科',
              ignoreKeepAlive: true,
            },
            component: '/gas/redirect/index',
          },
          {
            id: 'gasUsageCost',
            path: 'gasUsageCost',
            name: 'GasUsageCost',
            meta: {
              title: '大宗气体用量及费用',
              ignoreKeepAlive: true,
            },
            component: '/gas/gasUsageCost/index',
          },
          {
            id: 'compressedAir',
            path: 'compressedAir',
            name: 'CompressedAir',
            meta: {
              title: '压缩空气各分厂流量及单耗',
              ignoreKeepAlive: true,
            },
            component: '/gas/compressedAir/index',
          },
          {
            id: 'gasElectric',
            path: 'gasElectric',
            name: 'GasElectric',
            meta: {
              title: '系统电耗',
            },
            children: [
              {
                id: 'gasElectricRedirect',
                path: 'redirect',
                name: 'GasElectricRedirect',
                meta: {
                  title: '系统电耗',
                  ignoreKeepAlive: true,
                },
                component: '/gas/gasElectric/redirect/index',
              },
              {
                id: 'gasElectricSubsystem',
                path: 'gasElectricSubsystem',
                name: 'GasElectricSubsystem',
                meta: {
                  title: '分系统电耗',
                  ignoreKeepAlive: true,
                },
                component: '/gas/gasElectric/gasElectricSubsystem/index',
              },
            ],
          },
          {
            id: 'gasWater',
            path: 'gasWater',
            name: 'GasWater',
            meta: {
              title: '系统水耗',
              ignoreKeepAlive: true,
            },
            component: '/gas/gasWater/index',
          },

          {
            id: '919',
            path: 'ccssGas',
            name: 'CcssGas',
            meta: {
              title: 'CCSS',
              ignoreKeepAlive: true,
            },
            component: '/gas/dailyUsage/ccssGas',
          },
          {
            id: '920',
            path: 'specialGas',
            name: 'SpecialGas',
            meta: {
              title: '特气库存',
              ignoreKeepAlive: true,
            },
            component: '/gas/dailyUsage/specialGas',
          },
          {
            id: 'GasCost',
            path: 'GasCost',
            name: 'GasCost',
            meta: {
              title: '费用预算',
              ignoreKeepAlive: true,
            },
            component: '/gas/dailyUsage/cost',
          },
          {
            id: 'facilityGasData',
            path: 'facilityGasData',
            name: 'facilityGasData',
            meta: {
              title: '厂务能源数据',
              ignoreKeepAlive: true,
            },
            component: '/gas/facilityEnergyData/index',
          }
        ],
      },
      {
        id: '94',
        path: 'electricity',
        name: 'Electricity',
        meta: {
          icon: secondLevel,
          title: '电力技术科',
        },
        children: [
          {
            id: '941',
            path: 'summarySheet',
            name: 'SummarySheet',
            meta: {
              title: '各科室汇总',
            },
            component: '/electricity/summarySheet/index',
          },
          {
            id: '942',
            path: 'subitem',
            name: 'Subitem',
            meta: {
              title: '各科室分项',
            },
            component: '/electricity/subitem/index',
          },
          {
            id: '94777',
            path: 'kwhpicture',
            name: 'Kwhpicture',
            meta: {
              title: '电耗占比图',
              ignoreKeepAlive: true,
            },
            component: '/electricity/kwhpicture/index',
          },
          {
            id: '943',
            path: 'annualAndSigle',
            name: 'AnnualAndSigle',
            meta: {
              title: '年度用量及单耗',
              ignoreKeepAlive: true,
            },
            component: '/electricity/annualAndSigle/index',
          },
          {
            id: '944',
            path: 'lighting',
            name: 'Lighting',
            meta: {
              title: '照明电耗',
              ignoreKeepAlive: true,
            },
            component: '/electricity/lighting/index',
          },
          {
            id: '94666',
            path: 'solar',
            name: 'Solar',
            meta: {
              title: '太阳能发电量',
              ignoreKeepAlive: true,
            },
            component: '/electricity/Solar/index',
          },
          {
            id: '94555',
            path: 'branchFactory',
            name: 'BranchFactory',
            meta: {
              title: '分厂用量',
              ignoreKeepAlive: true,
            },
            component: '/electricity/branchFactory/index',
          },
          // {
          //   id: '946',
          //   path: 'peakValley',
          //   name: 'PeakValley',
          //   meta: {
          //     title: '峰平谷电耗统计',
          //     ignoreKeepAlive: true,
          //   },
          //   component: '/electricity/peakValley/index',
          // },
          {
            id: '947',
            path: 'cost',
            name: 'ElectricityCost',
            meta: {
              title: '费用预算',
              ignoreKeepAlive: true,
            },
            component: '/electricity/cost/index',
          },
          {
            id: 'facilityElectricityData',
            path: 'facilityElectricityData',
            name: 'facilityElectricityData',
            meta: {
              title: '厂务能源数据',
              ignoreKeepAlive: true,
            },
            component: '/electricity/facilityEnergyData/index',
          }
        ],
      },
    ],
  },
  {
    id: '2',
    path: '/dataReport',
    name: 'DataReport',
    component: 'LAYOUT',
    redirect: '/dataReport/energyStatistics',
    meta: {
      orderNo: 3,
      img: dataReport,
      imgClick: dataReportclick,
      // icon: 'clarity:analytics-outline-alerted',
      title: '能源数据报表',
    },
    children: [
      {
        id: '21',
        path: 'energyStatistics',
        name: 'EnergyStatisticsManage',
        meta: {
          title: '能源数据统计',
          icon: secondLevel,
          ignoreKeepAlive: false,
        },
        component: '/dataReport/energyStatistics/index',
      },
      {
        id: '22',
        path: 'energyComparison',
        name: 'EnergyComparisonManage',
        meta: {
          title: '能源数据对比',
          icon: secondLevel,
          ignoreKeepAlive: true,
          // showMenu: false,
          // currentActiveMenu: '/system/account',
        },
        component: '/dataReport/energyComparison/index',
      },
      {
        id: 'energyDataYOY',
        path: 'energyDataYOY',
        name: 'energyDataYOY',
        meta: {
          title: '能源数据同比',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/dataReport/energyDataYOY/index',
      },
      {
        id: '23',
        path: 'deviceParamComparison',
        name: 'DeviceParamComparison',
        meta: {
          title: '设备参数统计',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/dataReport/deviceParamComparison/index',
      },
      {
        id: '24',
        path: 'energyDataReport',
        name: 'EnergyDataReport',
        meta: {
          title: '能源数据报表',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/dataReport/energyDataReport/index',
      },
      {
        id: '25',
        path: 'deviceParamReport',
        name: 'DeviceParamReport',
        meta: {
          title: '设备参数报表',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/dataReport/deviceParamReport/index',
      },
      {
        id: '26',
        path: 'energyAlarmReport',
        name: 'EnergyAlarmReport',
        meta: {
          title: '能源告警报表',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/dataReport/energyAlarmReport/index',
      },
    ],
  },
  {
    id: 'workmanship',
    path: '/workmanship',
    name: 'workmanship',
    component: 'LAYOUT',
    redirect: '/workmanship/array',
    meta: {
      orderNo: 4,
      img: workmanship,
      imgClick: workmanshipclick,
      // icon: 'clarity:analytics-outline-alerted',
      title: '工艺能耗',
    },
    children: [
      {
        id: 'workmanshipArray',
        path: 'array',
        name: 'workmanshipArray',
        meta: {
          icon: secondLevel,
          title: 'ARRAY',
        },
        component: '/workmanship/array/index',
      },
      {
        id: 'workmanshipCell',
        path: 'cell',
        name: 'workmanshipCell',
        meta: {
          icon: secondLevel,
          title: 'CELL',
        },
        component: '/workmanship/cell/index',
      },
      {
        id: 'workmanshipCF',
        path: 'cf',
        name: 'workmanshipCF',
        meta: {
          icon: secondLevel,
          title: 'CF',
        },
        component: '/workmanship/cf/index',
      },
      {
        id: 'energyProportion',
        path: 'energyProportion',
        name: 'energyProportion',
        meta: {
          icon: secondLevel,
          title: '能源用量占比分析',
        },
        component: '/workmanship/energyProportion/index',
      },
    ],
  },
  // {
  //   id: 'energyBM',
  //   path: '/energyBM',
  //   name: 'energyBM',
  //   component: 'LAYOUT',
  //   redirect: '/energyBM/efficiency',
  //   meta: {
  //     orderNo: 3,
  //     img: energyBM,
  //     // icon: 'clarity:analytics-outline-alerted',
  //     title: '能源对标管理',
  //   },
  //   children: [
  //     {
  //       id: 'energyBMEfficiency',
  //       path: 'efficiency',
  //       name: 'energyBMEfficiency',
  //       meta: {
  //         title: '能效指标库',
  //       },
  //       component: '/energyBM/efficiency/index',
  //     },
  //     {
  //       id: 'energyBMEquipment',
  //       path: 'equipment',
  //       name: 'energyBMEquipment',
  //       meta: {
  //         title: '设备能耗对比',
  //       },
  //       component: '/energyBM/equipment/index',
  //     },
  //   ],
  // },
  // {
  //   id: '3',
  //   path: '/goods',
  //   name: 'Goods',
  //   component: 'LAYOUT',
  //   redirect: '/goods/index',
  //   meta: {
  //     orderNo: 4,
  //     // hideChildrenInMenu: true,
  //     icon: 'ant-design:file-search-outlined',
  //     title: '生产数据报表',
  //   },
  //   children: [
  //     {
  //       id: '31',
  //       path: 'index',
  //       name: 'goods',
  //       component: '/goods/shipment/index',
  //       meta: {
  //         title: '生产数据报表',
  //       },
  //     },
  //   ],
  // },
  // {
  //   id: '5',
  //   path: '/videoMonitor',
  //   name: 'videoMonitor',
  //   component: 'LAYOUT',
  //   redirect: '/videoMonitor/index',
  //   meta: {
  //     orderNo: 5,
  //     icon: 'material-symbols-light:camera-video-outline',
  //     title: '视频监控',
  //   },
  //   children: [
  //     {
  //       id: '51',
  //       path: 'index',
  //       name: 'videoMonitorIndex',
  //       meta: {
  //         title: '视频监控',
  //       },
  //       component: '/videoMonitor/index',
  //     },
  //   ],
  // },
  {
    id: '6',
    path: '/collection',
    name: 'Collection',
    component: 'LAYOUT',
    redirect: '/collection/device',
    meta: {
      orderNo: 6,
      img: collection,
      imgClick: collectionclick,
      // icon: 'clarity:data-cluster-outline-badged',
      title: '数据采集管理',
    },
    children: [
      {
        id: '61',
        path: 'device',
        name: 'DeviceManage',
        meta: {
          title: '采集设备管理',
          icon: secondLevel,
          ignoreKeepAlive: false,
        },
        component: '/collection/device/index',
      },
      {
        id: '63',
        path: 'classify',
        name: 'ClassifyManage',
        meta: {
          title: '数据分类',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/collection/classify/index',
      },
      {
        id: 'classifyManageConfig',
        path: 'classify/config',
        name: 'ClassifyManageConfig',
        meta: {
          title: '数据分类配置',
          icon: secondLevel,
          ignoreKeepAlive: true,
          // hideMenu: true
        },
        component: '/collection/classify/config',
      },
      // {
      //   id: '62',
      //   path: 'data',
      //   name: 'DataManage',
      //   meta: {
      //     title: '数据管理',
      //     icon: secondLevel,
      //     ignoreKeepAlive: true,
      //   },
      //   component: '/collection/data/index',
      // },
      // {
      //   id: '64',
      //   path: 'scence',
      //   name: 'ScenceManage',
      //   meta: {
      //     title: '场景管理',
      //     icon: secondLevel,
      //     ignoreKeepAlive: true,
      //   },
      //   component: '/collection/scence/index',
      // },
      {
        id: '65',
        path: 'alarm',
        name: 'AlarmManage',
        meta: {
          title: '设备告警记录',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/collection/alarm/index',
      },
      {
        id: '66',
        path: 'record',
        name: 'RecordManage',
        meta: {
          title: '采集数据记录',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/collection/record/index',
      },
      {
        id: '67',
        path: 'listClassify',
        name: 'ListClassify',
        meta: {
          title: '表单类型配置',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/collection/listClassify/index.vue',
      },
      {
        id: '67',
        path: 'deviceCollectionManager',
        name: 'deviceCollectionManager',
        meta: {
          title: '设备节点查询',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/collection/deviceCollectionManager/index.vue',
      },
      // {
      //   id: '67',
      //   path: 'dataUpload',
      //   name: 'dataUpload',
      //   meta: {
      //     title: '数据上传',
      //     ignoreKeepAlive: true,
      //   },
      //   component: '/collection/dataUpload/index',
      // },
    ],
  },
  // {
  //   id: '7',
  //   path: '/securityManagement',
  //   name: 'securityManagement',
  //   component: 'LAYOUT',
  //   redirect: '/securityManagement/monitor',
  //   meta: {
  //     orderNo: 6,
  //     icon: 'material-symbols:shield-locked-outline',
  //     title: '安全管理',
  //   },
  //   children: [
  //     {
  //       id: '71',
  //       path: 'monitor',
  //       name: 'securityManagementMonitor',
  //       meta: {
  //         title: '安全监测',
  //       },
  //       component: '/securityManagement/monitor/index',
  //     },
  //     {
  //       id: '72',
  //       path: 'report',
  //       name: 'securityManagementReport',
  //       meta: {
  //         title: '安全报表',
  //       },
  //       component: '/securityManagement/report/index',
  //     },
  //     {
  //       id: '73',
  //       path: 'gasAlarm',
  //       name: 'securityManagementGasAlarm',
  //       meta: {
  //         title: '气体告警',
  //       },
  //       component: '/securityManagement/gasAlarm/index',
  //     },
  //     {
  //       id: '74',
  //       path: 'fireAlarm',
  //       name: 'securityManagementFireAlarm',
  //       meta: {
  //         title: '消防告警',
  //       },
  //       component: '/securityManagement/fireAlarm/index',
  //     },
  //   ],
  // },
  {
    id: '4',
    path: '/alarm',
    name: 'Alarm',
    component: 'LAYOUT',
    redirect: '/alarm/notify',
    meta: {
      // hideChildrenInMenu: true,
      img: alarm,
      imgClick: alarmclick,
      // icon: 'ant-design:alert-outlined',
      title: '报警管理',
      orderNo: 5,
    },
    children: [
      {
        id: '41',
        path: 'notify',
        name: 'Alarm',
        component: '/alarm/notify/index',
        meta: {
          icon: secondLevel,
          title: '通知管理',
          // hideMenu: true,
        },
      },
      {
        id: '42',
        path: 'type',
        name: 'TypeManage',
        meta: {
          title: '报警类型管理',
          icon: secondLevel,
          // ignoreKeepAlive: true,
        },
        component: '/alarm/type/index',
      },
    ],
  },
  {
    id: 'energyCompare',
    path: '/energyCompare',
    name: 'EnergyCompare',
    component: 'LAYOUT',
    redirect: '/system/account',
    meta: {
      orderNo: 7,
      img: energyCompare,
      imgClick: energyCompareclick,
      title: '能源对标管理',
    },
    children: [
      {
        id: 'energyLibrary',
        path: 'energyLibrary',
        name: 'EnergyLibrary',
        meta: {
          title: '能效指标库',
          icon: secondLevel,
          ignoreKeepAlive: false,
        },
        component: '/energyCompare/energyLibrary/index.vue',
      },
      {
        id: 'deviceConsumptionCompare',
        path: 'deviceConsumptionCompare',
        name: 'DeviceConsumptionCompare',
        meta: {
          title: '设备能耗对比',
          icon: secondLevel,
          ignoreKeepAlive: false,
        },
        component: '/energyCompare/deviceConsumptionCompare/index.vue',
      },
    ],
  },
  {
    id: '5',
    path: '/carbon',
    name: 'Carbon',
    component: 'LAYOUT',
    redirect: '/carbon/calc',
    meta: {
      img: carbon,
      imgClick: carbonclick,
      // icon: 'ant-design:alert-outlined',
      title: '碳排放',
      orderNo: 6,
    },
    children: [
      {
        id: '51',
        path: 'calc',
        name: 'Calc',
        component: '/carbon/calc/index',
        meta: {
          title: '碳排放计算',
          icon: secondLevel,
        },
      },
    ],
  },
  {
    id: '8',
    path: '/system',
    name: 'System',
    component: 'LAYOUT',
    redirect: '/system/account',
    meta: {
      orderNo: 7,
      img: system,
      imgClick: systemclick,
      // icon: 'ion:settings-outline',
      title: '系统管理',
    },
    children: [
      {
        id: '81',
        path: 'account',
        name: 'AccountManagement',
        meta: {
          title: '用户管理',
          icon: secondLevel,
          ignoreKeepAlive: false,
        },
        component: '/system/account/index',
      },
      // {
      //   id: 82,
      //   path: 'account_detail/:id',
      //   name: 'AccountDetail',
      //   meta: {
      //     hideMenu: true,
      //     title: '用户详情',
      //     ignoreKeepAlive: true,
      //     showMenu: false,
      //     currentActiveMenu: '/system/account',
      //   },
      //   component: '/system/account/AccountDetail',
      // },
      {
        id: '83',
        path: 'role',
        name: 'RoleManagement',
        meta: {
          title: '角色管理',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/system/role/index',
      },
      // {
      //   path: 'menu',
      //   name: 'MenuManagement',
      //   meta: {
      //     title: t('routes.system.menu'),
      //     ignoreKeepAlive: true,
      //   },
      //   component: () => const('@/views/system/menu/index.vue'),
      // },
      // {
      //   id: '84',
      //   path: 'org',
      //   name: 'OrgManagement',
      //   meta: {
      //     title: '组织管理',
      //     icon: secondLevel,
      //     ignoreKeepAlive: true,
      //   },
      //   component: '/system/org/index',
      // },
      {
        id: '85',
        path: 'dict',
        name: 'DictManagement',
        meta: {
          title: '数据字典',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/system/dict/index',
      },
      {
        id: '87',
        path: 'price',
        name: 'EnergyUnitPrice',
        meta: {
          title: '能源单价',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/system/energyUnitPrice/index',
      },
      // {
      //   id: '88',
      //   path: 'manualEntry',
      //   name: 'ManualEntry',
      //   meta: {
      //     title: '手动录入',
      //     icon: secondLevel,
      //     ignoreKeepAlive: true,
      //   },
      //   component: '/system/manualEntry/index',
      // },
      {
        id: 'powerAndCost',
        path: 'powerAndCost',
        name: 'powerAndCost',
        meta: {
          title: '动力用量及费用',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/system/powerAndCost/index',
      },
      {
        id: '89',
        path: 'budget',
        name: 'BudgetData',
        meta: {
          title: '预算数据',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/system/budgetData/index',
      },
      {
        id: 'operationRecords',
        path: 'operationRecords',
        name: 'OperationRecords',
        meta: {
          title: '操作记录',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/system/operationRecords/index',
      },
      {
        id: 'dataCorrection',
        path: 'dataCorrection',
        name: 'DataCorrection',
        meta: {
          title: '数据修正',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/system/dataCorrection/index',
      },
      {
        id: '84',
        path: 'dataModification',
        name: 'DataModification',
        meta: {
          title: '手动修改数据',
          icon: secondLevel,
          ignoreKeepAlive: true,
        },
        component: '/system/dataModification/index',
      },
      // {
      //   id: 86,
      //   path: 'changePassword',
      //   name: 'ChangePassword',
      //   meta: {
      //     hideMenu: false,
      //     title: '更改密码',
      //     ignoreKeepAlive: true,
      //   },
      //   component: '/system/password/index',
      // },
    ],
  },
]

export default backMenus
